package editor;

import editor.Menu.OGGETTI;
import logic.Coords2D;

public class ObjContainer {
	private Coords2D coords;
	private OGGETTI  type;
	
	public ObjContainer(Coords2D coords,OGGETTI type)
	{
		this.coords=coords;
		this.type=type;
	}
	
	public ObjContainer(int x, int y,OGGETTI type)
	{
		this.coords=new Coords2D(x, y);
		this.type=type;
	}
	
	public Coords2D getCoords()
	{
		return this.coords;
	}
	
	public OGGETTI getType()
	{
		return this.type;
	}
	
	public int getX()
	{
		return (int) coords.getX();
	}
	
	public int getY()
	{
		return (int) coords.getY();
	}
	
}
